package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.TradeCalBean;

/**
* 描述：获取各大交易所交易日历数据,默认提取的是上交所
* @author: codesmith
**/
@Data
@TableName("trade_cal")
public class TradeCalEntity implements TradeCalBean {
    
    /*
    * 交易所 SSE上交所 SZSE深交所
    */
    @TableId
    @TableField("`exchange`") protected String exchange;
    /*
    * 日历日期
    */
    @TableId
    @TableField("`cal_date`") protected LocalDate calDate;

    @TableField("`is_open`") protected String isOpen;

    @TableField("`pretrade_date`") protected LocalDate pretradeDate;
}